package com.mgface.framework.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author wanyuxiang
 * @version 1.0
 * @project ms-discovery-eureka-client
 * @create 2017-04-10 16:30
 **/
@SpringBootApplication
@EnableDiscoveryClient//@EnableEurekaClient 这2个都可以，但是discovery以后可以更加通用在别的服务发现组件里面
public class EurekaClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaClientApplication.class, args);
    }
}
